<template>
  <svg
    class="yindu-icon"
    width="16px"
    height="16px"
    viewBox="0 0 16 16"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
  >
    <g
      id="页面-1"
      stroke="none"
      stroke-width="1"
      fill="none"
      fill-rule="evenodd"
    >
      <g id="切图" transform="translate(-871.000000, -111.000000)">
        <g
          id="编组-2"
          transform="translate(879.000000, 119.000000) rotate(-90.000000) translate(-879.000000, -119.000000) translate(871.000000, 111.000000)"
        >
          <rect id="矩形" x="0" y="0" width="16" height="16"></rect>
          <g id="svg-fill" transform="translate(1.000000, 1.000000)" fill="#323232">
            <polygon id="Fill-1" points="6.5 14 7.5 14 7.5 0 6.5 0"></polygon>
            <polygon id="Fill-2" points="0 7.5 14 7.5 14 6.5 0 6.5"></polygon>
          </g>
        </g>
      </g>
    </g>
  </svg>
</template>

<script setup lang="ts">
type Props = {
  fill?: string;
};

const props = withDefaults(defineProps<Props>(), {
  fill: "#323232",
});

const fillColor = computed(() => {
  return props.fill;
});
</script>
<style scoped lang="less">
.yindu-icon {
  #svg-fill {
    fill: v-bind(fillColor);
  }
}
</style>
